home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 June / MacFormat 25.iso / Shareware City / Developers / appe Windows 1.51.1 / contexts.h < prev    next >
Encoding:
Text File  |  1994-12-19  |  1001 b   |  27 lines  |  [TEXT/KAHL]

  1. // File "contexts.h" - 
  2. // This header file is Copyright Matt Slot & Slot-Machines Ltd., © 1994
  3.  
  4. #ifndef ____CONTEXTS_HEADER_____
  5. #define ____CONTEXTS_HEADER_____
  6.  
  7. // * **************************************************************************** * //
  8. // * **************************************************************************** * //
  9.  
  10. typedef struct {
  11.     long a5;            // Need to access our globals
  12.     GrafPtr savePort;    // Save the port across the JGNEFilter
  13.     THz heapZone;        // So our memory calls use our! heap zone
  14.     short curResFile;    // Save the current resource file (0 means open the clone)
  15.     } Context, *ContextPtr;
  16.  
  17. // * **************************************************************************** * //
  18. // * **************************************************************************** * //
  19. // Function Prototypes
  20.  
  21. short CloneResFile(void);
  22. ContextPtr SaveContext(short homeContext);
  23. void RestoreContext(ContextPtr context);
  24. void DisposeContext(ContextPtr context);
  25.  
  26. #endif  ____CONTEXTS_HEADER_____
  27.